ARG AIRFLOW_VERSION=2.1.4
ARG PYTHON_VERSION=3.8
FROM gitlab-registry.f.uco.com/p/it/big/airflow-exporter:latest AS builder

ARG AIRFLOW_VERSION
ARG PYTHON_VERSION
FROM apache/airflow:${AIRFLOW_VERSION}-python${PYTHON_VERSION}
COPY --from=builder /usr/app/ /usr/app/
RUN pip install /usr/app/*.whl